import request from '@/utils/request'

export function getMessageList(data){
    return request({
        url:'/message-list',
        method:'get',
        params:data
    });
}

export function getMessageDetail(data){
   return request({
       url:'/message-detail',
       method:'get',
       params:data
   });
}

export function answerTopic(data){
   return request({
       url:'/answer-topic',
       method:'post',
       data:qs.stringify(data)
   });
}
